<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">
    <title><?php echo SysConfig::$OJ_NAME?></title>
    <?php include("template/bs3/css.php");?>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container">
        <?php include("template/bs3/nav.php");?>
        <div class="panel panel-default">
            <div class="panel-body">
                <?php
                if ( isset($view_errors) && strlen($view_errors) > 0 ) {
                    echo "<h5 style='color: blue;'>".$view_errors."</h5>";
                }
                ?>
                <?php if(isset(SysConfig::$WECHAT_URL)) { ?>
                <a target="_blank" href="<?php echo SysConfig::$WECHAT_URL;?>">
                    <img class="col-xs-12 col-lg-4" style="border-radius: 0.5rem;" src="/upload/weixin.gif">
                </a>
                <?php } ?>
                <?php if ( strlen($error_url) > 0 ) {?>
                <a href="<?php echo $error_url ?>">
                    <button class="col-xs-offset-1 col-xs-10 col-lg-offset-0 col-lg-4 btn" style="min-height:9.2rem;background-color: #F7F7F7;color: #000000;font-size: 14px;">
                        <?php echo $error_desc?>
                    </button>
                </a>
                <?php } ?>
                <?php if ( isset($displayRet) && $displayRet ) { ?>
                    <button onclick="goBack()" class="col-xs-12 col-lg-4 btn" style="min-height:9.2rem;background-color: #F7F7F7;color: #000000;font-size: 14px;">
                        点此返回上一页面
                    </button>

                <?php } ?>
            </div>
        </div>
    </div> <!-- /container -->
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <?php include("template/bs3/js.php");?>
  </body>
  <script>
      function goBack(){
          window.history.go(-1)
      }
  </script>
</html>
